Skip to content

Conversation

sliverc
Copy link
Member

@sliverc sliverc commented Sep 23, 2025

Description of the Change

I have started discussion #1194 almost two years ago in terms of Django Polymorphic support in DJA and what it is used for. I have pinged people in the different PRs and issues about Polymorphic. The only response I got is at #1087 (comment), but otherwise no feedback.

My feeling is that either Django Polymorphic support in DJA is not really used or people are not aware of the surrounding discussion.

The goal of deprecation is that users who use it will become aware of the discussion, and we get a group of people who hopefully will be able to work on Django Polymorphic support in an external library.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

Desired for Django Polymorphic support to be added in an external
3rd party library in case there is a demand and someone is to be
found who will take the lead.
@sliverc sliverc requested a review from n2ygk September 23, 2025 16:57
@sliverc
Copy link
Member Author

sliverc commented Sep 23, 2025

@n2ygk Please let me know what you think about this deprecation strategy before you merge, whether you think that is a good way forward or have any other suggestions? Thanks.

@n2ygk
Copy link
Contributor

n2ygk commented Sep 24, 2025

It seems like a very lightly used feature if at all and pretty impactful in terms of added DJA support complexity. It's not even clear from #1087 (comment) whether @Elawphant is still relying on it (past tense use of "was").

The deprecation warnings are certainly the best way to get anyone's attention to determine the potential impact. I'm OK with merging this as is. Let me know if you want me to go ahead.

@sliverc
Copy link
Member Author

sliverc commented Sep 24, 2025

Good that we are on the same page. Let's go ahead and merge it then.

@n2ygk n2ygk merged commit e552413 into django-json-api:main Sep 24, 2025
9 checks passed
@sliverc sliverc deleted the deprecate_polymorphic branch September 24, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants